package com.cjm.one.model.goods.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.cjm.one.model.base.BaseEnum;
import com.fasterxml.jackson.annotation.JsonEnumDefaultValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum GoodsInfoIsNewEnum  implements BaseEnum {
    @JsonEnumDefaultValue
    NO(0, "否"),
    YES(1, "是")
    ;
    @EnumValue
    @JsonValue
    private int code;
    private String message;
    GoodsInfoIsNewEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
